package com.shaoyu.elasticsearch.util;


import com.fasterxml.jackson.databind.ObjectMapper;

import java.util.UUID;

public class CommonUtil {

    private static ObjectMapper mapper = new ObjectMapper();

    public static String getUUID(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }
    public static ObjectMapper getMapper(){
        return mapper;
    }
}
